﻿ 
 <form name="articlesearchform" id="articlesearchform" onsubmit="javascript:return check_articlesearch_info(this);"
                action="newssearch.aspx" method="post">
                <input type="text" name="keyword" id="article_keyword" value="" /><input
                    type="submit" name="articlesearch_submit" id="articlesearch_submit" value="搜索" />
                </form>

                <script type="text/javascript" language="javascript">
<!--
                    function check_articlesearch_info(thisForm) {
                        if ($("#article_keyword").val()=='') {
                            alert("请输入关键字！");
                            $("#article_keyword").focus();
                            return false;
                        }
                        return true;
                    }
-->
                </script>